//
//  RxTableModel.swift
//  RxSwiftExample
//
//  Created by lxf on 2021/11/24.
//

import UIKit

struct RxTableModel {

    var name = ""
    
    var singer = ""
    
}

extension RxTableModel {
    
    static func localModels() -> Array<RxTableModel> {
        
        var models = Array<RxTableModel>()
        
        for i in 0 ..< 10 {
            let model = RxTableModel(name: "歌手\(i)", singer: "歌曲——\(i)")
            models.append(model)
        }
        
        return models
    }
    
}
